import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    state:{
      // 验证码的key
      capKey:"",
      isShow:true
    }
  },
  mutations: {
    // 设置key
    setCapKey(state,payload){
      state.capKey=payload;
    },
    setShow(state,payload){
      state.isShow=payload;
    }
  },
  actions: {
  },
  modules: {
  }
})
